#include"Client.hpp"
#include<iostream>

int main()
{
    client s;
    std::cout << "client" << std::endl;
    s.openpipe();
    std::string num;
    while(true)
    {
        std::cout <<"请输入要发送的数据:";
        std::getline(std::cin,num);
        s.wpipe(num);
    }

    s.closepipe();
    return 0;
}